build: support armv81 arch in Makefile#776
Conversation
nikolasdehor
left a comment
There was a problem hiding this comment.
Straightforward 2-line Makefile change to map armv81 to arm64. Follows the existing pattern for aarch64. LGTM.
One thought: there are also armv8l variants (lowercase L) reported by some kernels (e.g., 32-bit userspace on 64-bit ARM). If the goal is broad ARMv8 coverage, that might be worth adding too, but that can be a separate PR.
|
LGTM |
|
@ztechenbo Good catch on the armv81 detection. Systems reporting that uname string would have gotten the wrong build target without this mapping. Nice and minimal fix. We have a PicoClaw Dev Group on Discord for contributors to chat and collaborate. If you're interested, send an email to |
build: support armv81 arch detection in Makefile
📝 Description
This PR updates the
MakefileLinux architecture detection to recognizearmv81and map it toarm64, so builds work correctly on systems reportinguname -m = armv81.🗣️ Type of Change
🤖 AI Code Generation
🔗 Related Issue
N/A
📚 Technical Context (Skip for Docs)
uname -masarmv81. Without this mapping, the build target arch may be mis-detected, leading to incorrect output naming/packaging. This change treatsarmv81asarm64.🧪 Test Environment
📸 Evidence (Optional)
Click to view Logs/Screenshots
Built successfully after updating arch detection for
armv81.☑️ Checklist